package listener

import "net"

type Listener interface {
	Listener(prot string)
	Accept() net.Conn
	Close()
}

func BuildListener(port string) Listener {
	tcpListenter := &Listener_TCP{}
	tcpListenter.Listener(port)
	return tcpListenter
}
